<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Dashboard extends MY_Controller
{
	public function __construct()
	{
		parent::__construct();
	}
	
	
	public function index()
	{
		$data = array(
			'is_logged_in'	=> $this->session->userdata('is_logged_in'),
			'user_id'		=> $this->session->userdata('user_id'),
			'user_name'		=> $this->session->userdata('user_name'),
			'title'			=> 'Home',
		);
		
		$this->loadView('dashboard_view', $data);
	}
}
